<?php

use think\facade\Route;

Route::get('know/index/index', 'know/Index/index');
// 用户
Route::post('know/wxuser/login', 'know/WxUser/login');
// 教材/资料
Route::get('know/teaching/list', 'know/TeachingMaterial/getList');
Route::get('know/teaching/detail', 'know/TeachingMaterial/detail');
Route::get('know/learning/list', 'know/LearningMaterial/getList');
Route::get('know/learning/detail', 'know/LearningMaterial/detail');
// 章节
Route::get('know/chapter/list', 'know/Chapter/getList');
Route::get('know/chapter/detail', 'know/Chapter/detail');

// 基础信息
Route::get('know/sysconfig/list', 'know/SysConfig/getList');
// 知识点
Route::get('know/knowleadgePoint/detail', 'know/KnowleadgePoint/detail');
// 单词
Route::get('know/newWord/detail', 'know/newWord/detail');
// 语法
Route::get('know/grammar/detail', 'know/grammar/detail');

// 最后学习
Route::get('know/record/lastest', 'know/UserLastRecord/lastest');
Route::post('know/record/add', 'know/UserLastRecord/add');

// 试卷
Route::get('know/paper/detail', 'know/Paper/detail');
Route::post('know/paper/saveAnswer', 'know/Paper/answer');

// 收藏
Route::get('know/collect/add', 'know/Collect/add');
Route::post('know/collect/get', 'know/Collect/get');
Route::post('know/collect/cancel', 'know/Collect/cancel');

// 抗击hbv
Route::post('know/hbvFightRecord/add', 'know/hbvFightRecord/add');
Route::get('know/hbvFightRecord/list', 'know/hbvFightRecord/lst');
Route::post('know/hbvFightRecord/delete', 'know/hbvFightRecord/del');

// 佳句
Route::get('know/sentence/list', 'know/sentence/getList');

// 学生信息
Route::post('know/student/add', 'know/Student/add');
Route::get('know/student/list', 'know/Student/lst');
Route::post('know/student/delete', 'know/Student/del');
Route::post('know/student/modify', 'know/Student/modify');
Route::get('know/student/detail', 'know/Student/detail');